package com.sicnustray.entity;

import java.io.Serializable;
import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author yl
 * @since 2022-11-18
 */
@Getter
@Setter
  @ApiModel(value = "Syslog对象", description = "")
public class Syslog implements Serializable {

    private static final long serialVersionUID = 1L;


      @ApiModelProperty("id")
      @TableId(value = "id", type = IdType.AUTO)
      private Integer id;

      @ApiModelProperty("用户名")
      private String username;

      @ApiModelProperty("操作")
      private String operation;

      @ApiModelProperty("方法名")
      private String method;

     @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
      @ApiModelProperty("操作时间")
      private LocalDateTime createDate;


}
